package cn.lizemin.service.impl;

import cn.lizemin.annotations.MyAdvice;
import cn.lizemin.service.UserService;
import org.springframework.stereotype.Service;

/**
 * @author lzm
 * @version 1.0
 * @description: TODO
 * @date 2022/1/3 14:40
 */
@Service
public class UserServiceImpl implements UserService {
    @Override
    @MyAdvice
    public void save(String name) {
        System.out.println("处理save方法的业务");
    }

    @Override
    public void delete(Integer id) {
        System.out.println("处理delete方法的业务");
    }

    @Override
    public void update(Integer id) {
        System.out.println("处理update方法的业务");
    }

    @Override
    public String find(String name) {
        System.out.println("处理find方法的业务");
        return name;
    }
}
